package com.ls.demo.mapper;

import com.ls.demo.entity.Student;
import com.ls.demo.entity.Submit;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SubmitMapper {
    void insert(Submit submit);

    void updateById(Submit submit);

    void deleteById(Integer id);
    @Select("SELECT * FROM submit WHERE id = #{id}")
    Submit selectById(Integer id);
    List<Submit> selectAll(Submit submit);

    List<Student> stuselectAll(Student student);

    List<Submit> showme(Submit submit);

    Student stuUpdate(Student student);
}
